﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.IO;
using System.Text;

public partial class DefaultPage : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

        //if (Request["screen"] != null)
        //{

        //    body.Attributes.Remove("onload");
        //    HttpBrowserCapabilities bc = Request.Browser;
        //    string Screen = Server.UrlDecode(Request["screen"]) + "," + bc.Browser.ToString() + bc.Version.ToString();
        //    object[] obj = new object[] { Screen, Srvtools.CliUtils.fLoginUser };

        //    object[] ret = Srvtools.CliUtils.CallMethod("Common", "UpdateUserScreen", obj);
            //
            //ContentDiv.Visible = true;

            //body.Attributes.Add("onload", "WinResizeTo()");


        //}
        //else
        //{
        //    body.Attributes.Add("onload", "GetScreen()");
        //    ContentDiv.Visible = false;

        //}

        //if (Request["screen"] != null)
        //{

        //    body.Attributes.Remove("onload");
        //    HttpBrowserCapabilities bc = Request.Browser;
        //    string Screen = Server.UrlDecode(Request["screen"]) + "," + bc.Browser.ToString() + bc.Version.ToString();
        //    object[] obj = new object[] { Screen, Srvtools.CliUtils.fLoginUser };

        //    object[] ret = Srvtools.CliUtils.CallMethod("Common", "UpdateUserScreen", obj);
        //    //
        //    ContentDiv.Visible = true;




        //}
        //else
        //{
        //    body.Attributes.Add("onload", "GetScreen()");
        //    ContentDiv.Visible = false;

        //}
    }
}
